<g:if test="${Offset==0}">
  <g:if test="${Regulation.size()==0}">
    <div class="loading">0 Proteins found</div>
  </g:if>
  <g:else>
    <div class="legend line listlegend"><div class="text element">Legend:</div>
      <div class="element regulation class101">
        <div class="up">2</div>
        <div class="down">1</div>
        <div class="bg"></div>
      </div>
      <div class="text element"> - number of studies the protein is over (</div>
      <div class="element regulation class100">
        <div class="up">1</div>
        <div class="bg"></div>
      </div>
      <div class="text element">), under (</div>
      <div class="element regulation class001">
        <div class="down">1</div>
        <div class="bg"></div>
      </div>
      <div class="text element">) or not differentially expressed (</div>
      <div class="element regulation class010">
        <div class="non">1</div>
        <div class="bg"></div>
      </div>
      <div class="text element">)</div>
    </div>

    <div class="list" style="max-height:500px;">
      <div class="line headline listhead listline">
        <div class="element protein">Protein</div>
        <div class="element gene">Gene Name</div>
        <div class="element cellline">Tissue of Origin</div>
        <div class="element regulation"></div>
        <div class="element pvalue">p-Value</div>
        <div class="element description">Description</div>
      </div>
      <div class="data">
        <g:render template="listData" />
      </div>
      <g:render template="searchFootline" />
    </div>
  </g:else>
  <script type="text/javascript">initResultTable();</script>
</g:if>
<g:else>
  <g:render template="listData" />
</g:else>